﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Adams.Public.Web.Business.Web.PressReleases
{
    public static class Index
    {
        public static Adams.Public.DataTransfer.Web.PressReleases.Index.PageLoad PageLoad()
        {
            var model = new Adams.Public.DataTransfer.Web.PressReleases.Index.PageLoad();
            var data = Api.GetData<Adams.Public.DataTransfer.PressReleases.GetPressReleases>("PressReleases/GetPressReleases");
            model.PressReleases = data.PressReleases;
            return model;
        }
    }
}
